package com.lion.common.modules.uaa.web.models.results;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Chris Chan
 * Create On 2025/9/19 下午7:51
 * Use for: 用户信息结果
 * Explain:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户信息结果")
public class UserInfoResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "账号编码", example = "123456")
    private Long accountCode;
    @Schema(description = "用户名", example = "chris")
    private String username;
    @Schema(description = "手机号", example = "13811111111")
    private String cellphone;
    @Schema(description = "邮箱", example = "def@two.com")
    private String email;
    @Schema(description = "头像", example = "https://www.lion.cup/avatar.jpg")
    private String avatar;
    @Schema(description = "角色列表", example = "ROLE_ADMIN,ROLE_USER")
    private List<String> roles;
}
